//
//  YLJPushHelper.h
//  Thinkape-iOS
//
//  Created by admin on 16/6/3.
//  Copyright © 2016年 TIXA. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "JPUSHService.h"
@interface YLJPushHelper : NSObject

//在应用启动的时候调用
//+ (void)setupWithOption:(NSDictionary *)launchingOption appKey:(NSString *)appKey channel:(NSString *)channel apsForProduction:(BOOL)isProduction advertisingIdentifier:(NSString *)advertisingId;
+ (void)setupWithOption:(NSDictionary *)launchingOption
                 appKey:(NSString *)appKey
                channel:(NSString *)channel
       apsForProduction:(BOOL)isProduction advertisingIdentifier:(NSString *)advertisingId;


//在appdelegate注册设备处调用
+ (void)registerDeviceToken:(NSData *)deviceToken;
//ios7.0之后，才有completion，否则传nil
+ (void)handleRemoteNotification:(NSDictionary *)userInfo completion:(void (^)(UIBackgroundFetchResult))completion;

// 显示本地通知在最前面
+ (void)showLocalNotificationAtFront:(UILocalNotification *)notification;


@end
